package com.taotao.cn.bean.json;

import com.alibaba.fastjson.annotation.JSONCreator;
import com.alibaba.fastjson.annotation.JSONField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * @author dimdark
 * @date 2017-03-15
 * @time 7:07 PM
 */

public class UserLoginJson {

    private String username;
    private String password;
    private String authCode;

    public UserLoginJson(String username, String password, String authCode) {
        this.username = username;
        this.password = password;
        this.authCode = authCode;
    }

    public UserLoginJson(){}

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SIMPLE_STYLE);
    }

}
